A ParamArray cannot be Passed by Reference Error

You tried to declare a parameter using both the ParamArray and ByRef keywords. Parameters declared ass ParamArray cannot be passed by reference.